package main

import (
	"fmt"
	"gitee.com/venki/go_study_accumulate/go_code/20211103/key"
	"strconv"
	"time"
)

func init() {
	fmt.Println("main模块初始化成功……")
}

func main() {
	// api.Access()
	// key.Access()
	go key.GoroutineLearn() // 开启一个协程
	for i := 1; i <= 50; i++ {
		fmt.Println("main:hello,world" + strconv.Itoa(i))
		time.Sleep(time.Millisecond*1000)
	}
}
